package com.cn.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * Jobinfo entity. @author MyEclipse Persistence Tools
 */

public class Jobinfo implements java.io.Serializable {

	// Fields

	private Integer id;
	private Department department;
	private String job;
	private Set jobrights = new HashSet();
	private Set employees = new HashSet();

	// Constructors

	/** default constructor */
	public Jobinfo() {
	}

	/** minimal constructor */
	public Jobinfo(String job) {
		this.job = job;
	}

	/** full constructor */
	public Jobinfo(Department department, String job, Set jobrights, Set employees) {
		this.department = department;
		this.job = job;
		this.jobrights = jobrights;
		this.employees = employees;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Department getDepartment() {
		return this.department;
	}

	public void setDepartment(Department department) {
		this.department = department;
	}

	public String getJob() {
		return this.job;
	}

	public void setJob(String job) {
		this.job = job;
	}

	public Set getJobrights() {
		return this.jobrights;
	}

	public void setJobrights(Set jobrights) {
		this.jobrights = jobrights;
	}

	public Set getEmployees() {
		return this.employees;
	}

	public void setEmployees(Set employees) {
		this.employees = employees;
	}

}